Skip to content

fix(deps): update dependency knex to v3#487

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/knex-3.x
Open

fix(deps): update dependency knex to v3#487
renovate[bot] wants to merge 1 commit intomainfrom
renovate/knex-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 17, 2025

This PR contains the following updates:

Package Change Age Confidence
knex (source) ^2.4.0^3.0.0 age confidence

Release Notes

knex/knex (knex)

v3.2.6

Compare Source

Bug fixes

v3.2.5

Compare Source

v3.2.4

Compare Source

v3.2.3

Compare Source

v3.2.2

Compare Source

v3.2.1

Compare Source

Bug fixes
  • Fix subpath imports broken by exports field added in 3.2.0. Packages relying on deep imports (e.g. knex/lib/dialects/sqlite3/index) were blocked by the restrictive exports map
Docs
  • Add VitePress blog with archive and UTC post dates (#​6397)

v3.2.0

Compare Source

New features
  • Add migration lifecycle hooks (#​5541)
  • Add SIMILAR TO operator (#​5303)
  • Add dropUniqueIfExists (#​6069)
  • Add 'validate' pool option (#​5120)
  • PostgreSQL: default datetime/timestamp precision setting added (#​5311)
  • Better-SQLite3: Support defaultSafeIntegers option (#​6320)
  • Better-SQLite3: Improve safeIntegers support (#​6352)
  • SQLite: Refactor transactions to allow setting the foreign_keys pragma for a transaction (#​6315)
Bug fixes
  • Fix where in query with raw column (#​6323)
  • Fix migrate up with completed migration (#​6342)
  • Fix ESM export and typings (#​6227)
  • Fix migration CLI and cli tests (#​6264)
  • Fix recover from broken connection (#​5774)
  • Prevent unexpected combinations of statements and clauses groups from executing (#​6314)
  • Improve CLI error reporting in some edge cases (#​6265)
  • PostgreSQL: clearer error when pg-query-stream is missing (#​6362)
  • PostgreSQL: Fix streaming compatibility with pg-query-stream 4.14+ (#​6396)
  • MySQL: Fix the operator "<=>" is not permitted (#​6158)
  • MSSQL: Optimize stream.write (#​5693)
  • SQLite: Fix whereILike issue (#​5687)
Types
  • Fix usage of object type that is too broad (#​5373)
  • Fix pluck typing issue when CompositeTableType is used (#​4609)
  • Make types no longer allow knex to be called without tablename (#​6188)
  • Add missing type definition for orderBy with a raw column/expression (#​5803)
  • Add additional typing for column.index (#​5371)
  • Update typings for increment/decrement (#​5674)
  • Use syntax import from instead of import = require() (#​5258)
  • Import knex as type in TS seed template (#​6094)
  • Update index.d.ts (#​5767)
  • Add @​types/minimatch v5 to fix TypeScript build (#​6240)
Tests
  • Additional tests for JSON (de)serialization (#​4451)
  • Run CI on Node 22 and remove dtslint (#​6165)
Chore
  • Update to non-screamy versions of dependencies that have npm audit failures (#​6324)
  • Upgrade pg to ^8.20.0, pg-query-stream to ^4.14.0 (#​6396)

v3.1.0

Compare Source

Bug fixes
  • andWhereNotJsonObject calling wrong function (#​5683)
  • PostgreSQL: fix error when setting query_timeout (#​5673)
  • MySQL: Missing comments on delete, update and insert (#​5738)
  • MySQL: Fixed issue with bigincrements not working with composite primary key - #​5341 (#​5343)
Types
  • Add type definitions for orHavingNull and orHavingNotNull (#​5669)
  • Import knex as type in TS migration template (#​5741)
  • Fix conditional constraint error (#​5747)
  • PostgreSQL: Fix typing to reflect pg typing change (#​5647)
New features
  • Add transactor.parentTransaction (#​5567)
  • MySQL: Added implementation for upsert (#​5743)
  • Oracle: Support Object Names Greater than 30 Characters for Oracle DB Versions 12.2 and Greater (#​5197)

v3.0.1

Compare Source

  • Build fix

v3.0.0

Compare Source

  • Fix raw bindings typing (#​5401)
  • Fix migrate:unlock when used with custom identifier wrapping. (#​5353)
  • Fix driver options specified with .options() method being ignored for oracledb dialect (#​5123)
  • Drop compatibility for Node < 16
  • Fix knex d.ts to work with mixed modules (#​5659)
  • Fix Lexical error from "Instaed" to "Instead" (#​5655)
Bug fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented May 17, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: mevn-orm@2.4.5
npm error Found: knex@3.2.6
npm error node_modules/knex
npm error   knex@"^3.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer knex@"^2.3.0" from mevn-orm@2.4.5
npm error node_modules/mevn-orm
npm error   mevn-orm@"^2.4.1" from the root project
npm error
npm error Conflicting peer dependency: knex@2.5.1
npm error node_modules/knex
npm error   peer knex@"^2.3.0" from mevn-orm@2.4.5
npm error   node_modules/mevn-orm
npm error     mevn-orm@"^2.4.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-03-25T04_46_06_914Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-03-25T04_46_06_914Z-debug-0.log

@renovate renovate bot force-pushed the renovate/knex-3.x branch 2 times, most recently from 59bc1d2 to f28aee9 Compare June 2, 2025 20:38
@renovate renovate bot force-pushed the renovate/knex-3.x branch from f28aee9 to 637157d Compare June 2, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants